import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)

for (const [iconName, iconComponent] of Object.entries(ElementPlusIconsVue)) {
    app.component(iconName, iconComponent)
}

app.use(router)
app.mount('#app')